package net.sky.oa.service.talkpark.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import net.sky.oa.dao.talkpark.TalBoxUserDao;
import net.sky.oa.model.TalBoxUser;
import net.sky.oa.service.talkpark.TalBoxUserService;

import com.htsoft.core.service.impl.BaseServiceImpl;

@Service
@Transactional
public class TalBoxUserServiceImpl extends BaseServiceImpl<TalBoxUser> implements TalBoxUserService{
    
	private TalBoxUserDao talboxuserdao;
	
	@Resource
	public void setDao(TalBoxUserDao talboxuserdao){
		super.setDao(talboxuserdao);
		this.talboxuserdao=talboxuserdao;
	}
	
	@Transactional(readOnly=true)
	public List<TalBoxUser> findAllTalBoxUser() {
		
		return talboxuserdao.findAllTalboxUser();
	}
	@Transactional(readOnly=true)
	public List<TalBoxUser> findTalboxUserId(Long boxId,Long userId){
		
		return talboxuserdao.findTalboxUserId(boxId,userId);
	}

	public List<TalBoxUser> findByHql(String paramString) {
		
		return null;
	}

}
